In the previous lesson, we ran 3 experiments and then tried to plot the data by hand. Even with just three experiments, we started noticing trends. However, we also noticed two important issues:
-
Reliability issue: The particles' random behavior may lead to fluctuations in our final pressure value.
-
Practicality issue: We might not be able to precisely plot the data by our hands.
Scientists try to overcome such issues by using an approach called "statistical mechanics 🔗". To put it simply, they collect lots of data and then use statistical methods to determine mathematical relationships between variables.
Below, you will see a CODAP workbench. CODAP is a web-based data analysis platform that will make it much easier for us to run many experiments at once. It will also make it much easier to plot our data and find out mathematical relationships between the variables.
Let's begin with familiarizing ourselves with the CODAP environment:
- Run three experiments for 15 ticks: with 100 particles, with 200 particles, and with 300 particles. (p.s.: you can speed up the model to get the results more quickly)
- Observe how the results of each experiment is automatically transferred to the "Experiment results" table on the right.
- Drag the num_particles variable to the x-axis of the plot plot as shown in the GIF on the right.
- Drag the last_pressure_value variable to the y-axis of the plot plot as shown in the GIF on the right.
- Observe the resulting plot. Then answer the questions below the CODAP workbench.